├── .dockerignore ├── .github ├── CODEOWNERS ├── PULL_REQUEST_TEMPLATE.md ├── renovate.json └── workflows │ ├── ci.yml │ ├── codeql-analysis.yml │ ├── generalized-deployments.yaml │ └── golangci-lint.yml ├── .gitignore ├── .golangci.yaml ├── .prom-gowrap.tmpl ├── .semgrepignore ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── cmd ├── flag.go ├── go.mod ├── go.sum ├── macaroon │ ├── brave-firewall-vpn │ │ └── premium_dev_time_limited_v2.yaml │ └── brave-skus │ │ └── free_time_limited_v2_dev.yaml └── root.go ├── create_dbs.sh ├── docker-compose.dev.yml ├── docker-compose.ext.yml ├── docker-compose.reputation.yml ├── docker-compose.yml ├── libs ├── altcurrency │ ├── altcurrency.go │ └── altcurrency_test.go ├── backoff │ ├── backoff.go │ ├── backoff_test.go │ └── retrypolicy │ │ ├── factory.go │ │ ├── mock │ │ └── retrypolicy.go │ │ ├── retrypolicy.go │ │ └── retrypolicy_test.go ├── clients │ ├── bitflyer │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ └── mock │ │ │ └── mock.go │ ├── cbr │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ └── mock │ │ │ └── mock.go │ ├── client.go │ ├── client_test.go │ ├── coingecko │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ └── mock │ │ │ └── mock.go │ ├── errors.go │ ├── gemini │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ └── mock │ │ │ └── mock.go │ ├── ratios │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ └── mock │ │ │ └── mock.go │ ├── reputation │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ ├── mock │ │ │ └── mock.go │ │ ├── proxy.go │ │ └── proxy_test.go │ └── stripe │ │ ├── client.go │ │ ├── client_test.go │ │ ├── instrumented_client.go │ │ └── mock │ │ └── mock.go ├── closers │ ├── log.go │ └── panic.go ├── contains │ └── contains.go ├── context │ ├── getters.go │ ├── keys.go │ └── wrap.go ├── cryptography │ ├── attenutated_credential.go │ ├── attenutated_credential.md │ ├── attenutated_credential_test.go │ ├── encryption.go │ ├── encryption_test.go │ ├── hmac.go │ ├── presigner.go │ ├── time_limited.go │ └── time_limited_test.go ├── custodian │ ├── regions.go │ ├── regions_test.go │ └── transaction.go ├── datastore │ ├── models.go │ ├── postgres.go │ └── tx.go ├── digest │ ├── digest.go │ └── digest_test.go ├── errors │ ├── errors.go │ ├── errors_test.go │ └── helpers.go ├── formatters │ └── cliformatter.go ├── go.mod ├── go.sum ├── handlers │ ├── handlers.go │ ├── handlers_test.go │ └── healthcheck.go ├── httpsignature │ ├── algorithm.go │ ├── ed25519.go │ ├── hmac.go │ ├── httpsignature.go │ └── httpsignature_test.go ├── inputs │ ├── decode.go │ ├── ids.go │ ├── inputs.go │ ├── merchant.go │ ├── pagination.go │ ├── pagination_test.go │ ├── publickey.go │ └── validate.go ├── jsonutils │ └── jsonstringarray.go ├── kafka │ ├── consumer.go │ ├── dialer.go │ ├── instrument.go │ └── mock │ │ └── dialer.go ├── kv │ ├── kv.go │ └── kv_test.go ├── logging │ ├── logging.go │ └── logging_test.go ├── metrics │ ├── db_stats.go │ └── db_stats_test.go ├── middleware │ ├── context.go │ ├── http_signed.go │ ├── http_signed_test.go │ ├── prometheus.go │ ├── rate_limiter.go │ ├── rate_limiter_test.go │ ├── request_correlation.go │ ├── request_host.go │ ├── request_id.go │ ├── request_logger.go │ ├── request_logger_test.go │ ├── simple_token.go │ ├── simple_token_test.go │ ├── upgrade_required.go │ └── upgrade_required_test.go ├── passphrase │ ├── passphrase.go │ └── passphrase_test.go ├── pindialer │ └── dialer.go ├── prompt │ └── prompt.go ├── ptr │ └── ptr.go ├── requestutils │ └── requestutils.go ├── responses │ ├── meta.go │ └── pagination.go ├── service │ └── service.go ├── set │ ├── set.go │ └── set_test.go ├── test │ ├── matcher.go │ └── random.go ├── time │ ├── duration.go │ └── duration_test.go ├── useragent │ ├── useragent.go │ └── useragent_test.go ├── validators │ ├── validators.go │ └── validators_test.go └── wallet │ ├── provider │ ├── provider.go │ └── uphold │ │ ├── errors.go │ │ ├── errors_test.go │ │ ├── httpsigned.go │ │ ├── uphold.go │ │ └── uphold_test.go │ ├── wallet.go │ └── wallet_test.go ├── main ├── .gitignore ├── go.mod ├── go.sum └── main.go ├── migrations ├── 0001_initial_schema.down.sql ├── 0001_initial_schema.up.sql ├── 0002_job_drain.down.sql ├── 0002_job_drain.up.sql ├── 0003_claim_redeemed.down.sql ├── 0003_claim_redeemed.up.sql ├── 0004_suggestion_erred.down.sql ├── 0004_suggestion_erred.up.sql ├── 0005_clobbered_claims.down.sql ├── 0005_clobbered_claims.up.sql ├── 0006_create_orders.down.sql ├── 0006_create_orders.up.sql ├── 0007_create_transactions.down.sql ├── 0007_create_transactions.up.sql ├── 0008_create_order_creds.down.sql ├── 0008_create_order_creds.up.sql ├── 0009_token_drain.down.sql ├── 0009_token_drain.up.sql ├── 0010_vote_drain.down.sql ├── 0010_vote_drain.up.sql ├── 0011_add_properties_to_order.down.sql ├── 0011_add_properties_to_order.up.sql ├── 0012_add_sku_to_order_item.down.sql ├── 0012_add_sku_to_order_item.up.sql ├── 0013_create_api_keys.down.sql ├── 0013_create_api_keys.up.sql ├── 0014_v2_clobbered_claims.down.sql ├── 0014_v2_clobbered_claims.up.sql ├── 0015_funding_events.down.sql ├── 0015_funding_events.up.sql ├── 0016_add_platform.down.sql ├── 0016_add_platform.up.sql ├── 0017_link_wallets.down.sql ├── 0017_link_wallets.up.sql ├── 0018_deposit_provider.down.sql ├── 0018_deposit_provider.up.sql ├── 0019_wallet_card_id.down.sql ├── 0019_wallet_card_id.up.sql ├── 0020_add_timestamps_to_wallets.down.sql ├── 0020_add_timestamps_to_wallets.up.sql ├── 0021_tighten_provider_constraints.down.sql ├── 0021_tighten_provider_constraints.up.sql ├── 0022_coded_drains.down.sql ├── 0022_coded_drains.up.sql ├── 0023_mint_drain.down.sql ├── 0023_mint_drain.up.sql ├── 0024_drain_poll.down.sql ├── 0024_drain_poll.up.sql ├── 0025_bap_report.down.sql ├── 0025_bap_report.up.sql ├── 0026_claim_drain_audit.down.sql ├── 0026_claim_drain_audit.up.sql ├── 0027_bf_req_id.down.sql ├── 0027_bf_req_id.up.sql ├── 0028_linking_adjust.down.sql ├── 0028_linking_adjust.up.sql ├── 0029_claim_drain_job_status.down.sql ├── 0029_claim_drain_job_status.up.sql ├── 0030_suggestion_timestamp.down.sql ├── 0030_suggestion_timestamp.up.sql ├── 0031_mint_drain_idx.down.sql ├── 0031_mint_drain_idx.up.sql ├── 0032_add_credential_type_to_order.down.sql ├── 0032_add_credential_type_to_order.up.sql ├── 0033_claim_drain_wallet_id_idx.down.sql ├── 0033_claim_drain_wallet_id_idx.up.sql ├── 0034_multi_custodian_wallet.down.sql ├── 0034_multi_custodian_wallet.up.sql ├── 0035_payment_skus.down.sql ├── 0035_payment_skus.up.sql ├── 0036_order_time.down.sql ├── 0036_order_time.up.sql ├── 0037_order_item_valid_for.down.sql ├── 0037_order_item_valid_for.up.sql ├── 0038_deposit_dest_drain.down.sql ├── 0038_deposit_dest_drain.up.sql ├── 0039_free_trial_order.down.sql ├── 0039_free_trial_order.up.sql ├── 0040_unlinked_at.down.sql ├── 0040_unlinked_at.up.sql ├── 0041_credential_duration.down.sql ├── 0041_credential_duration.up.sql ├── 0042_normalize_creds.down.sql ├── 0042_normalize_creds.up.sql ├── 0043_normalize_claim_creds.down.sql ├── 0043_normalize_claim_creds.up.sql ├── 0044_promotion_constraints.down.sql ├── 0044_promotion_constraints.up.sql ├── 0045_drop_promotion_fkey.down.sql ├── 0045_drop_promotion_fkey.up.sql ├── 0046_verified_wallet_outbox.down.sql ├── 0046_verified_wallet_outbox.up.sql ├── 0047_claimable_until_promotion.down.sql ├── 0047_claimable_until_promotion.up.sql ├── 0048_sub_issuer_creds.down.sql ├── 0048_sub_issuer_creds.up.sql ├── 0049_each_credential_valid_for.down.sql ├── 0049_each_credential_valid_for.up.sql ├── 0050_cred_request_download.down.sql ├── 0050_cred_request_download.up.sql ├── 0051_cred_request_downloaded_undo.down.sql ├── 0051_cred_request_downloaded_undo.up.sql ├── 0052_claim_drain_pending_idx.down.sql ├── 0052_claim_drain_pending_idx.up.sql ├── 0053_vote_drain_processed_erred_idx.down.sql ├── 0053_vote_drain_processed_erred_idx.up.sql ├── 0054_suggestion_drain_not_erred_idx.down.sql ├── 0054_suggestion_drain_not_erred_idx.up.sql ├── 0055_order_creds_batch_proof_null_idx.down.sql ├── 0055_order_creds_batch_proof_null_idx.up.sql ├── 0056_signing_order_request_outbox_created_at_submitted_at_isnull_idx.down.sql ├── 0056_signing_order_request_outbox_created_at_submitted_at_isnull_idx.up.sql ├── 0057_wallet_custodian_updated_at.down.sql ├── 0057_wallet_custodian_updated_at.up.sql ├── 0058_order_history.down.sql ├── 0058_order_history.up.sql ├── 0059_transaction_history.down.sql ├── 0059_transaction_history.up.sql ├── 0060_order_item_history.down.sql ├── 0060_order_item_history.up.sql ├── 0061_wallet_custodian_check_custodian.down.sql ├── 0061_wallet_custodian_check_custodian.up.sql ├── 0062_signing_order_request_outbox_history.down.sql ├── 0062_signing_order_request_outbox_history.up.sql ├── 0063_tlv2oc_history.down.sql ├── 0063_tlv2oc_history.up.sql ├── 0064_challenges.down.sql ├── 0064_challenges.up.sql ├── 0065_allow_list.down.sql ├── 0065_allow_list.up.sql ├── 0066_wallet_custodian_check_custodian_add_solana.down.sql ├── 0066_wallet_custodian_check_custodian_add_solana.up.sql ├── 0067_tlv2_request_id_not_null.down.sql ├── 0067_tlv2_request_id_not_null.up.sql ├── 0068_tlv2_request_id_uniq.down.sql ├── 0068_tlv2_request_id_uniq.up.sql ├── 0069_order_items_add_sku_variant.down.sql ├── 0069_order_items_add_sku_variant.up.sql ├── 0070_create_solana_waitlist.down.sql ├── 0070_create_solana_waitlist.up.sql ├── 0071_signing_order_request_outbox_submitted_completed_idx.down.sql └── 0071_signing_order_request_outbox_submitted_completed_idx.up.sql ├── schema ├── rewards │ └── ParametersV1 └── wallet │ ├── BalanceResponseV3 │ ├── LinkBraveDepositAccountRequest │ └── ResponseV3 ├── services ├── cmd │ ├── README.md │ └── serve.go ├── go.mod ├── go.sum ├── grant │ ├── cmd │ │ ├── grant.go │ │ └── grant_test.go │ ├── datastore.go │ ├── grant.go │ ├── grant_test.go │ ├── instrumented_datastore.go │ ├── instrumented_read_only_datastore.go │ ├── mockdatastore.go │ └── service.go ├── promotion │ ├── README.md │ ├── avro.go │ ├── claim.go │ ├── claim_summary.go │ ├── claim_test.go │ ├── controllers.go │ ├── controllers_test.go │ ├── custodian.go │ ├── datastore.go │ ├── datastore_test.go │ ├── drain.go │ ├── drain_info.go │ ├── instrumented_datastore.go │ ├── instrumented_read_only_datastore.go │ ├── issuer.go │ ├── mockclaim.go │ ├── mockdatastore.go │ ├── mockdrain.go │ ├── mockservice.go │ ├── order.go │ ├── promotion.go │ ├── promotion_test.go │ ├── service.go │ ├── service_test.go │ ├── suggestions.go │ └── suggestions_test.go ├── ratios │ ├── cache.go │ ├── cmd │ │ ├── ratios.go │ │ └── rest_run.go │ ├── controllers.go │ ├── controllers_test.go │ ├── inputs.go │ ├── mapping.go │ ├── middleware.go │ └── service.go ├── rewards │ ├── Dockerfile │ ├── README.md │ ├── choices.go │ ├── cmd │ │ ├── rest_run.go │ │ └── rewards.go │ ├── controllers.go │ ├── controllers_test.go │ ├── docker-compose.yml │ ├── handler │ │ ├── handler.go │ │ └── handler_test.go │ ├── inputs.go │ ├── json-schema │ │ ├── example-parameters-response.json │ │ └── example-parameters-response.schema │ ├── model │ │ └── model.go │ ├── parameters.go │ ├── protobuf │ │ └── rewards.proto │ ├── service.go │ └── service_test.go ├── skus │ ├── Dockerfile │ ├── README.md │ ├── appstore.go │ ├── appstore_test.go │ ├── avro.go │ ├── controllers.go │ ├── controllers_noint_test.go │ ├── controllers_test.go │ ├── credentials.go │ ├── credentials_noint_test.go │ ├── credentials_test.go │ ├── datastore.go │ ├── datastore_test.go │ ├── handler │ │ ├── cred.go │ │ ├── cred_test.go │ │ ├── handler.go │ │ ├── handler_pvt_test.go │ │ └── handler_test.go │ ├── helpers.go │ ├── instrumented_datastore.go │ ├── key.go │ ├── key_test.go │ ├── mockcredentials.go │ ├── mockdatastore.go │ ├── model │ │ ├── model.go │ │ ├── model_pvt_test.go │ │ └── model_test.go │ ├── order.go │ ├── order_test.go │ ├── playstore.go │ ├── playstore_test.go │ ├── radom │ │ ├── notification.go │ │ ├── notification_test.go │ │ ├── radom.go │ │ └── radom_test.go │ ├── receipt.go │ ├── receipt_test.go │ ├── service.go │ ├── service_nonint_test.go │ ├── service_test.go │ ├── skus.go │ ├── skus_test.go │ ├── skustest │ │ └── skustest.go │ ├── storage │ │ └── repository │ │ │ ├── issuer.go │ │ │ ├── issuer_test.go │ │ │ ├── mock.go │ │ │ ├── order_history.go │ │ │ ├── order_item.go │ │ │ ├── order_item_test.go │ │ │ ├── repository.go │ │ │ ├── repository_test.go │ │ │ ├── tlv2.go │ │ │ └── tlv2_test.go │ ├── stripe.go │ ├── stripe_test.go │ ├── testdata │ │ ├── stripe_invoice_paid.json │ │ ├── stripe_invoice_payment_failed.json │ │ └── stripe_sub_deleted.json │ ├── transaction.go │ ├── vote.go │ ├── vote_test.go │ └── xstripe │ │ ├── mock.go │ │ ├── xstripe.go │ │ └── xstripe_test.go └── wallet │ ├── Dockerfile │ ├── README.md │ ├── cmd │ ├── rest_run.go │ └── wallets.go │ ├── controllers_v3.go │ ├── controllers_v3_int_test.go │ ├── controllers_v3_test.go │ ├── controllers_v4.go │ ├── controllers_v4_test.go │ ├── datastore.go │ ├── datastore_pvt_test.go │ ├── datastore_test.go │ ├── docker-compose.yml │ ├── gemini.go │ ├── gemini_test.go │ ├── geocountry.go │ ├── geocountry_test.go │ ├── handler │ └── handler.go │ ├── inputs.go │ ├── instrumented_datastore.go │ ├── instrumented_read_only_datastore.go │ ├── keystore.go │ ├── metric │ └── metric.go │ ├── mock.go │ ├── mockservice.go │ ├── model │ ├── model.go │ └── model_test.go │ ├── outputs.go │ ├── service.go │ ├── service_test.go │ ├── solana.go │ ├── solana_test.go │ ├── storage │ ├── storage.go │ └── storage_test.go │ ├── wallettest │ └── wallettest.go │ ├── xslack │ ├── mock.go │ ├── xslack.go │ └── xslack_test.go │ └── xsolana │ └── xsolana.go ├── test └── secrets │ ├── README.md │ ├── broker1-ca1-signed.crt │ ├── broker1.csr │ ├── broker1_keystore_creds │ ├── broker1_sslkey_creds │ ├── broker1_truststore_creds │ ├── consumer-ca1-signed.crt │ ├── consumer-ca1-signed.pem │ ├── consumer.client.key │ ├── consumer.client.req │ ├── consumer.csr │ ├── consumer_keystore_creds │ ├── consumer_sslkey_creds │ ├── consumer_truststore_creds │ ├── create-certs.sh │ ├── generate-client.sh │ ├── kafka.broker1.keystore.jks │ ├── kafka.broker1.truststore.jks │ ├── kafka.consumer.keystore.jks │ ├── kafka.consumer.truststore.jks │ ├── kafka.producer.keystore.jks │ ├── kafka.producer.truststore.jks │ ├── openssl.cnf │ ├── producer-ca1-signed.crt │ ├── producer.csr │ ├── producer_keystore_creds │ ├── producer_sslkey_creds │ ├── producer_truststore_creds │ ├── snakeoil-ca-1.crt │ ├── snakeoil-ca-1.key │ ├── snakeoil-ca-1.srl │ ├── v3-1.ext │ └── v3.ext └── tools ├── Dockerfile ├── Makefile ├── cmd ├── README.md ├── generate.go ├── get-cert-fingerprint.go └── schema.go ├── go.mod ├── go.sum ├── macaroon └── cmd │ ├── .gitignore │ ├── README.md │ ├── ac_skus.yaml │ ├── brave-firewall-vpn │ ├── premium_dev_time-limited.yaml │ ├── premium_dev_time_limited_v2.yaml │ ├── premium_dev_time_limited_v2_bat.yaml │ ├── premium_prod_time-limited.yaml │ ├── premium_prod_time_limited_v2.yaml │ ├── premium_prod_time_limited_v2_bat.yaml │ ├── premium_stg_time-limited.yaml │ ├── premium_stg_time_limited_v2.yaml │ └── premium_stg_time_limited_v2_bat.yaml │ ├── brave-leo │ ├── premium_development_time_limited_v2.yaml │ ├── premium_development_yearly_time_limited_v2.yaml │ ├── premium_prod_time_limited_v2.yaml │ ├── premium_prod_yearly_time_limited_v2.yaml │ ├── premium_stg_time_limited_v2.yaml │ └── premium_stg_yearly_time_limited_v2.yaml │ ├── brave-search │ ├── development-captcha-single-use.yaml │ ├── development-captcha-time-limited.yaml │ ├── premium_dev_time-limited.yaml │ ├── premium_prod_time-limited.yaml │ ├── premium_stg_time-limited.yaml │ ├── premium_year_dev_time-limited.yaml │ ├── premium_year_prod_time-limited.yaml │ ├── premium_year_stg_time-limited.yaml │ ├── production-captcha-single-use.yaml │ └── staging-captcha-single-use.yaml │ ├── brave-skus │ ├── free_1m_tlv2.yaml │ ├── free_5m_tlv2.yaml │ ├── free_dev.yaml │ ├── free_nocc_dev.yaml │ ├── free_nocc_stg.yaml │ ├── free_premium_dev.yaml │ ├── free_premium_stg.yaml │ ├── free_stg.yaml │ ├── free_unlimited_dev.yaml │ ├── free_unlimitted_stg.yaml │ ├── premium_dev.yaml │ ├── premium_stg.yaml │ ├── unlimited_dev.yaml │ └── unlimited_stg.yaml │ ├── brave-talk │ ├── brave_talk_free_dev.yaml │ ├── brave_talk_paid_dev.yaml │ ├── premium_dev_time-limited.yaml │ ├── premium_dev_time-limited_beta.yaml │ ├── premium_prod_time-limited.yaml │ ├── premium_prod_time-limited_beta.yaml │ ├── premium_stg_time-limited.yaml │ └── premium_stg_time-limited_beta.yaml │ ├── brave-together │ ├── brave_together_free_dev.yaml │ ├── brave_together_free_prod.yaml │ ├── brave_together_free_staging.yaml │ ├── brave_together_paid_dev.yaml │ ├── brave_together_paid_prod.yaml │ └── brave_together_paid_staging.yaml │ ├── example.yaml │ ├── free_example.yaml │ ├── gen.go │ ├── search_closed_beta.yaml │ ├── token.go │ └── webtest-pj.herokuapp.com.yaml ├── merchant └── cmd │ ├── README.md │ └── new_keys.go ├── settlement ├── README.md ├── bitflyer │ ├── upload.go │ ├── upload_mock_test.go │ └── upload_test.go ├── cmd │ ├── bitflyer.go │ ├── gemini.go │ ├── paypal.go │ ├── settlement.go │ └── uphold.go ├── config.example.yaml ├── config.go ├── config.hcl ├── files.go ├── gemini │ ├── sign.go │ └── upload.go ├── hashicorp.asc ├── paypal │ ├── data.go │ └── transform.go ├── settlement.go ├── settlement_test.go └── uphold │ ├── prepare.go │ └── prepare_test.go ├── vault ├── cmd │ ├── create_wallet.go │ ├── import_key.go │ ├── init.go │ ├── sign_settlement.go │ ├── unseal.go │ └── vault.go └── signer │ ├── ed25519signer.go │ ├── hmacsigner.go │ ├── hmacsigner_test.go │ ├── vaultsigner.go │ └── vaultsigner_test.go └── wallet └── cmd ├── create.go ├── list_transactions.go └── transfer_funds.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @clD11 2 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/generalized-deployments.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.github/workflows/generalized-deployments.yaml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /.prom-gowrap.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.prom-gowrap.tmpl -------------------------------------------------------------------------------- /.semgrepignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/.semgrepignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/README.md -------------------------------------------------------------------------------- /cmd/flag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/cmd/flag.go -------------------------------------------------------------------------------- /cmd/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/cmd/go.mod -------------------------------------------------------------------------------- /cmd/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/cmd/go.sum -------------------------------------------------------------------------------- /cmd/macaroon/brave-firewall-vpn/premium_dev_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/cmd/macaroon/brave-firewall-vpn/premium_dev_time_limited_v2.yaml -------------------------------------------------------------------------------- /cmd/macaroon/brave-skus/free_time_limited_v2_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/cmd/macaroon/brave-skus/free_time_limited_v2_dev.yaml -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/cmd/root.go -------------------------------------------------------------------------------- /create_dbs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/create_dbs.sh -------------------------------------------------------------------------------- /docker-compose.dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/docker-compose.dev.yml -------------------------------------------------------------------------------- /docker-compose.ext.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/docker-compose.ext.yml -------------------------------------------------------------------------------- /docker-compose.reputation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/docker-compose.reputation.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /libs/altcurrency/altcurrency.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/altcurrency/altcurrency.go -------------------------------------------------------------------------------- /libs/altcurrency/altcurrency_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/altcurrency/altcurrency_test.go -------------------------------------------------------------------------------- /libs/backoff/backoff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/backoff/backoff.go -------------------------------------------------------------------------------- /libs/backoff/backoff_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/backoff/backoff_test.go -------------------------------------------------------------------------------- /libs/backoff/retrypolicy/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/backoff/retrypolicy/factory.go -------------------------------------------------------------------------------- /libs/backoff/retrypolicy/mock/retrypolicy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/backoff/retrypolicy/mock/retrypolicy.go -------------------------------------------------------------------------------- /libs/backoff/retrypolicy/retrypolicy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/backoff/retrypolicy/retrypolicy.go -------------------------------------------------------------------------------- /libs/backoff/retrypolicy/retrypolicy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/backoff/retrypolicy/retrypolicy_test.go -------------------------------------------------------------------------------- /libs/clients/bitflyer/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/bitflyer/client.go -------------------------------------------------------------------------------- /libs/clients/bitflyer/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/bitflyer/client_test.go -------------------------------------------------------------------------------- /libs/clients/bitflyer/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/bitflyer/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/bitflyer/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/bitflyer/mock/mock.go -------------------------------------------------------------------------------- /libs/clients/cbr/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/cbr/client.go -------------------------------------------------------------------------------- /libs/clients/cbr/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/cbr/client_test.go -------------------------------------------------------------------------------- /libs/clients/cbr/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/cbr/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/cbr/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/cbr/mock/mock.go -------------------------------------------------------------------------------- /libs/clients/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/client.go -------------------------------------------------------------------------------- /libs/clients/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/client_test.go -------------------------------------------------------------------------------- /libs/clients/coingecko/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/coingecko/client.go -------------------------------------------------------------------------------- /libs/clients/coingecko/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/coingecko/client_test.go -------------------------------------------------------------------------------- /libs/clients/coingecko/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/coingecko/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/coingecko/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/coingecko/mock/mock.go -------------------------------------------------------------------------------- /libs/clients/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/errors.go -------------------------------------------------------------------------------- /libs/clients/gemini/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/gemini/client.go -------------------------------------------------------------------------------- /libs/clients/gemini/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/gemini/client_test.go -------------------------------------------------------------------------------- /libs/clients/gemini/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/gemini/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/gemini/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/gemini/mock/mock.go -------------------------------------------------------------------------------- /libs/clients/ratios/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/ratios/client.go -------------------------------------------------------------------------------- /libs/clients/ratios/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/ratios/client_test.go -------------------------------------------------------------------------------- /libs/clients/ratios/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/ratios/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/ratios/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/ratios/mock/mock.go -------------------------------------------------------------------------------- /libs/clients/reputation/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/reputation/client.go -------------------------------------------------------------------------------- /libs/clients/reputation/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/reputation/client_test.go -------------------------------------------------------------------------------- /libs/clients/reputation/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/reputation/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/reputation/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/reputation/mock/mock.go -------------------------------------------------------------------------------- /libs/clients/reputation/proxy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/reputation/proxy.go -------------------------------------------------------------------------------- /libs/clients/reputation/proxy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/reputation/proxy_test.go -------------------------------------------------------------------------------- /libs/clients/stripe/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/stripe/client.go -------------------------------------------------------------------------------- /libs/clients/stripe/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/stripe/client_test.go -------------------------------------------------------------------------------- /libs/clients/stripe/instrumented_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/stripe/instrumented_client.go -------------------------------------------------------------------------------- /libs/clients/stripe/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/clients/stripe/mock/mock.go -------------------------------------------------------------------------------- /libs/closers/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/closers/log.go -------------------------------------------------------------------------------- /libs/closers/panic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/closers/panic.go -------------------------------------------------------------------------------- /libs/contains/contains.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/contains/contains.go -------------------------------------------------------------------------------- /libs/context/getters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/context/getters.go -------------------------------------------------------------------------------- /libs/context/keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/context/keys.go -------------------------------------------------------------------------------- /libs/context/wrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/context/wrap.go -------------------------------------------------------------------------------- /libs/cryptography/attenutated_credential.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/attenutated_credential.go -------------------------------------------------------------------------------- /libs/cryptography/attenutated_credential.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/attenutated_credential.md -------------------------------------------------------------------------------- /libs/cryptography/attenutated_credential_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/attenutated_credential_test.go -------------------------------------------------------------------------------- /libs/cryptography/encryption.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/encryption.go -------------------------------------------------------------------------------- /libs/cryptography/encryption_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/encryption_test.go -------------------------------------------------------------------------------- /libs/cryptography/hmac.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/hmac.go -------------------------------------------------------------------------------- /libs/cryptography/presigner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/presigner.go -------------------------------------------------------------------------------- /libs/cryptography/time_limited.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/time_limited.go -------------------------------------------------------------------------------- /libs/cryptography/time_limited_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/cryptography/time_limited_test.go -------------------------------------------------------------------------------- /libs/custodian/regions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/custodian/regions.go -------------------------------------------------------------------------------- /libs/custodian/regions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/custodian/regions_test.go -------------------------------------------------------------------------------- /libs/custodian/transaction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/custodian/transaction.go -------------------------------------------------------------------------------- /libs/datastore/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/datastore/models.go -------------------------------------------------------------------------------- /libs/datastore/postgres.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/datastore/postgres.go -------------------------------------------------------------------------------- /libs/datastore/tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/datastore/tx.go -------------------------------------------------------------------------------- /libs/digest/digest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/digest/digest.go -------------------------------------------------------------------------------- /libs/digest/digest_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/digest/digest_test.go -------------------------------------------------------------------------------- /libs/errors/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/errors/errors.go -------------------------------------------------------------------------------- /libs/errors/errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/errors/errors_test.go -------------------------------------------------------------------------------- /libs/errors/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/errors/helpers.go -------------------------------------------------------------------------------- /libs/formatters/cliformatter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/formatters/cliformatter.go -------------------------------------------------------------------------------- /libs/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/go.mod -------------------------------------------------------------------------------- /libs/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/go.sum -------------------------------------------------------------------------------- /libs/handlers/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/handlers/handlers.go -------------------------------------------------------------------------------- /libs/handlers/handlers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/handlers/handlers_test.go -------------------------------------------------------------------------------- /libs/handlers/healthcheck.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/handlers/healthcheck.go -------------------------------------------------------------------------------- /libs/httpsignature/algorithm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/httpsignature/algorithm.go -------------------------------------------------------------------------------- /libs/httpsignature/ed25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/httpsignature/ed25519.go -------------------------------------------------------------------------------- /libs/httpsignature/hmac.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/httpsignature/hmac.go -------------------------------------------------------------------------------- /libs/httpsignature/httpsignature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/httpsignature/httpsignature.go -------------------------------------------------------------------------------- /libs/httpsignature/httpsignature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/httpsignature/httpsignature_test.go -------------------------------------------------------------------------------- /libs/inputs/decode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/decode.go -------------------------------------------------------------------------------- /libs/inputs/ids.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/ids.go -------------------------------------------------------------------------------- /libs/inputs/inputs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/inputs.go -------------------------------------------------------------------------------- /libs/inputs/merchant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/merchant.go -------------------------------------------------------------------------------- /libs/inputs/pagination.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/pagination.go -------------------------------------------------------------------------------- /libs/inputs/pagination_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/pagination_test.go -------------------------------------------------------------------------------- /libs/inputs/publickey.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/publickey.go -------------------------------------------------------------------------------- /libs/inputs/validate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/inputs/validate.go -------------------------------------------------------------------------------- /libs/jsonutils/jsonstringarray.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/jsonutils/jsonstringarray.go -------------------------------------------------------------------------------- /libs/kafka/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/kafka/consumer.go -------------------------------------------------------------------------------- /libs/kafka/dialer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/kafka/dialer.go -------------------------------------------------------------------------------- /libs/kafka/instrument.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/kafka/instrument.go -------------------------------------------------------------------------------- /libs/kafka/mock/dialer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/kafka/mock/dialer.go -------------------------------------------------------------------------------- /libs/kv/kv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/kv/kv.go -------------------------------------------------------------------------------- /libs/kv/kv_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/kv/kv_test.go -------------------------------------------------------------------------------- /libs/logging/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/logging/logging.go -------------------------------------------------------------------------------- /libs/logging/logging_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/logging/logging_test.go -------------------------------------------------------------------------------- /libs/metrics/db_stats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/metrics/db_stats.go -------------------------------------------------------------------------------- /libs/metrics/db_stats_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/metrics/db_stats_test.go -------------------------------------------------------------------------------- /libs/middleware/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/context.go -------------------------------------------------------------------------------- /libs/middleware/http_signed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/http_signed.go -------------------------------------------------------------------------------- /libs/middleware/http_signed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/http_signed_test.go -------------------------------------------------------------------------------- /libs/middleware/prometheus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/prometheus.go -------------------------------------------------------------------------------- /libs/middleware/rate_limiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/rate_limiter.go -------------------------------------------------------------------------------- /libs/middleware/rate_limiter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/rate_limiter_test.go -------------------------------------------------------------------------------- /libs/middleware/request_correlation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/request_correlation.go -------------------------------------------------------------------------------- /libs/middleware/request_host.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/request_host.go -------------------------------------------------------------------------------- /libs/middleware/request_id.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/request_id.go -------------------------------------------------------------------------------- /libs/middleware/request_logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/request_logger.go -------------------------------------------------------------------------------- /libs/middleware/request_logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/request_logger_test.go -------------------------------------------------------------------------------- /libs/middleware/simple_token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/simple_token.go -------------------------------------------------------------------------------- /libs/middleware/simple_token_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/simple_token_test.go -------------------------------------------------------------------------------- /libs/middleware/upgrade_required.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/upgrade_required.go -------------------------------------------------------------------------------- /libs/middleware/upgrade_required_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/middleware/upgrade_required_test.go -------------------------------------------------------------------------------- /libs/passphrase/passphrase.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/passphrase/passphrase.go -------------------------------------------------------------------------------- /libs/passphrase/passphrase_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/passphrase/passphrase_test.go -------------------------------------------------------------------------------- /libs/pindialer/dialer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/pindialer/dialer.go -------------------------------------------------------------------------------- /libs/prompt/prompt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/prompt/prompt.go -------------------------------------------------------------------------------- /libs/ptr/ptr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/ptr/ptr.go -------------------------------------------------------------------------------- /libs/requestutils/requestutils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/requestutils/requestutils.go -------------------------------------------------------------------------------- /libs/responses/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/responses/meta.go -------------------------------------------------------------------------------- /libs/responses/pagination.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/responses/pagination.go -------------------------------------------------------------------------------- /libs/service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/service/service.go -------------------------------------------------------------------------------- /libs/set/set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/set/set.go -------------------------------------------------------------------------------- /libs/set/set_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/set/set_test.go -------------------------------------------------------------------------------- /libs/test/matcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/test/matcher.go -------------------------------------------------------------------------------- /libs/test/random.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/test/random.go -------------------------------------------------------------------------------- /libs/time/duration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/time/duration.go -------------------------------------------------------------------------------- /libs/time/duration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/time/duration_test.go -------------------------------------------------------------------------------- /libs/useragent/useragent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/useragent/useragent.go -------------------------------------------------------------------------------- /libs/useragent/useragent_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/useragent/useragent_test.go -------------------------------------------------------------------------------- /libs/validators/validators.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/validators/validators.go -------------------------------------------------------------------------------- /libs/validators/validators_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/validators/validators_test.go -------------------------------------------------------------------------------- /libs/wallet/provider/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/provider/provider.go -------------------------------------------------------------------------------- /libs/wallet/provider/uphold/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/provider/uphold/errors.go -------------------------------------------------------------------------------- /libs/wallet/provider/uphold/errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/provider/uphold/errors_test.go -------------------------------------------------------------------------------- /libs/wallet/provider/uphold/httpsigned.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/provider/uphold/httpsigned.go -------------------------------------------------------------------------------- /libs/wallet/provider/uphold/uphold.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/provider/uphold/uphold.go -------------------------------------------------------------------------------- /libs/wallet/provider/uphold/uphold_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/provider/uphold/uphold_test.go -------------------------------------------------------------------------------- /libs/wallet/wallet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/wallet.go -------------------------------------------------------------------------------- /libs/wallet/wallet_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/libs/wallet/wallet_test.go -------------------------------------------------------------------------------- /main/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /main/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/main/go.mod -------------------------------------------------------------------------------- /main/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/main/go.sum -------------------------------------------------------------------------------- /main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/main/main.go -------------------------------------------------------------------------------- /migrations/0001_initial_schema.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0001_initial_schema.down.sql -------------------------------------------------------------------------------- /migrations/0001_initial_schema.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0001_initial_schema.up.sql -------------------------------------------------------------------------------- /migrations/0002_job_drain.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0002_job_drain.down.sql -------------------------------------------------------------------------------- /migrations/0002_job_drain.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0002_job_drain.up.sql -------------------------------------------------------------------------------- /migrations/0003_claim_redeemed.down.sql: -------------------------------------------------------------------------------- 1 | alter table claims drop column redeemed_at; 2 | -------------------------------------------------------------------------------- /migrations/0003_claim_redeemed.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0003_claim_redeemed.up.sql -------------------------------------------------------------------------------- /migrations/0004_suggestion_erred.down.sql: -------------------------------------------------------------------------------- 1 | alter table suggestion_drain drop column erred; 2 | -------------------------------------------------------------------------------- /migrations/0004_suggestion_erred.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0004_suggestion_erred.up.sql -------------------------------------------------------------------------------- /migrations/0005_clobbered_claims.down.sql: -------------------------------------------------------------------------------- 1 | drop table if exists clobbered_claims; 2 | -------------------------------------------------------------------------------- /migrations/0005_clobbered_claims.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0005_clobbered_claims.up.sql -------------------------------------------------------------------------------- /migrations/0006_create_orders.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0006_create_orders.down.sql -------------------------------------------------------------------------------- /migrations/0006_create_orders.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0006_create_orders.up.sql -------------------------------------------------------------------------------- /migrations/0007_create_transactions.down.sql: -------------------------------------------------------------------------------- 1 | drop table if exists transactions cascade; 2 | -------------------------------------------------------------------------------- /migrations/0007_create_transactions.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0007_create_transactions.up.sql -------------------------------------------------------------------------------- /migrations/0008_create_order_creds.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0008_create_order_creds.down.sql -------------------------------------------------------------------------------- /migrations/0008_create_order_creds.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0008_create_order_creds.up.sql -------------------------------------------------------------------------------- /migrations/0009_token_drain.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0009_token_drain.down.sql -------------------------------------------------------------------------------- /migrations/0009_token_drain.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0009_token_drain.up.sql -------------------------------------------------------------------------------- /migrations/0010_vote_drain.down.sql: -------------------------------------------------------------------------------- 1 | drop table vote_drain; 2 | -------------------------------------------------------------------------------- /migrations/0010_vote_drain.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0010_vote_drain.up.sql -------------------------------------------------------------------------------- /migrations/0011_add_properties_to_order.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0011_add_properties_to_order.down.sql -------------------------------------------------------------------------------- /migrations/0011_add_properties_to_order.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0011_add_properties_to_order.up.sql -------------------------------------------------------------------------------- /migrations/0012_add_sku_to_order_item.down.sql: -------------------------------------------------------------------------------- 1 | alter table order_items 2 | drop sku; 3 | -------------------------------------------------------------------------------- /migrations/0012_add_sku_to_order_item.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0012_add_sku_to_order_item.up.sql -------------------------------------------------------------------------------- /migrations/0013_create_api_keys.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0013_create_api_keys.down.sql -------------------------------------------------------------------------------- /migrations/0013_create_api_keys.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0013_create_api_keys.up.sql -------------------------------------------------------------------------------- /migrations/0014_v2_clobbered_claims.down.sql: -------------------------------------------------------------------------------- 1 | alter table clobbered_claims drop column version; 2 | -------------------------------------------------------------------------------- /migrations/0014_v2_clobbered_claims.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0014_v2_clobbered_claims.up.sql -------------------------------------------------------------------------------- /migrations/0015_funding_events.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS bat_loss_events; 2 | -------------------------------------------------------------------------------- /migrations/0015_funding_events.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0015_funding_events.up.sql -------------------------------------------------------------------------------- /migrations/0016_add_platform.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE bat_loss_events DROP COLUMN platform; 2 | -------------------------------------------------------------------------------- /migrations/0016_add_platform.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE bat_loss_events ADD COLUMN platform TEXT NOT NULL DEFAULT ''; 2 | -------------------------------------------------------------------------------- /migrations/0017_link_wallets.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0017_link_wallets.down.sql -------------------------------------------------------------------------------- /migrations/0017_link_wallets.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0017_link_wallets.up.sql -------------------------------------------------------------------------------- /migrations/0018_deposit_provider.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE wallets DROP COLUMN user_deposit_account_provider; 2 | -------------------------------------------------------------------------------- /migrations/0018_deposit_provider.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE wallets ADD COLUMN user_deposit_account_provider text; 2 | -------------------------------------------------------------------------------- /migrations/0019_wallet_card_id.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0019_wallet_card_id.down.sql -------------------------------------------------------------------------------- /migrations/0019_wallet_card_id.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0019_wallet_card_id.up.sql -------------------------------------------------------------------------------- /migrations/0020_add_timestamps_to_wallets.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0020_add_timestamps_to_wallets.down.sql -------------------------------------------------------------------------------- /migrations/0020_add_timestamps_to_wallets.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0020_add_timestamps_to_wallets.up.sql -------------------------------------------------------------------------------- /migrations/0021_tighten_provider_constraints.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0021_tighten_provider_constraints.down.sql -------------------------------------------------------------------------------- /migrations/0021_tighten_provider_constraints.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0021_tighten_provider_constraints.up.sql -------------------------------------------------------------------------------- /migrations/0022_coded_drains.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0022_coded_drains.down.sql -------------------------------------------------------------------------------- /migrations/0022_coded_drains.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0022_coded_drains.up.sql -------------------------------------------------------------------------------- /migrations/0023_mint_drain.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0023_mint_drain.down.sql -------------------------------------------------------------------------------- /migrations/0023_mint_drain.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0023_mint_drain.up.sql -------------------------------------------------------------------------------- /migrations/0024_drain_poll.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0024_drain_poll.down.sql -------------------------------------------------------------------------------- /migrations/0024_drain_poll.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0024_drain_poll.up.sql -------------------------------------------------------------------------------- /migrations/0025_bap_report.down.sql: -------------------------------------------------------------------------------- 1 | drop table bap_report; 2 | -------------------------------------------------------------------------------- /migrations/0025_bap_report.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0025_bap_report.up.sql -------------------------------------------------------------------------------- /migrations/0026_claim_drain_audit.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0026_claim_drain_audit.down.sql -------------------------------------------------------------------------------- /migrations/0026_claim_drain_audit.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0026_claim_drain_audit.up.sql -------------------------------------------------------------------------------- /migrations/0027_bf_req_id.down.sql: -------------------------------------------------------------------------------- 1 | drop table bf_req_ids; 2 | -------------------------------------------------------------------------------- /migrations/0027_bf_req_id.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0027_bf_req_id.up.sql -------------------------------------------------------------------------------- /migrations/0028_linking_adjust.down.sql: -------------------------------------------------------------------------------- 1 | drop table linking_limit_adjust; 2 | -------------------------------------------------------------------------------- /migrations/0028_linking_adjust.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0028_linking_adjust.up.sql -------------------------------------------------------------------------------- /migrations/0029_claim_drain_job_status.down.sql: -------------------------------------------------------------------------------- 1 | alter table claim_drain drop column status; 2 | -------------------------------------------------------------------------------- /migrations/0029_claim_drain_job_status.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0029_claim_drain_job_status.up.sql -------------------------------------------------------------------------------- /migrations/0030_suggestion_timestamp.down.sql: -------------------------------------------------------------------------------- 1 | alter table suggestion_drain drop column created_at; 2 | -------------------------------------------------------------------------------- /migrations/0030_suggestion_timestamp.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0030_suggestion_timestamp.up.sql -------------------------------------------------------------------------------- /migrations/0031_mint_drain_idx.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0031_mint_drain_idx.down.sql -------------------------------------------------------------------------------- /migrations/0031_mint_drain_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0031_mint_drain_idx.up.sql -------------------------------------------------------------------------------- /migrations/0032_add_credential_type_to_order.down.sql: -------------------------------------------------------------------------------- 1 | alter table order_items 2 | drop credential_type; 3 | -------------------------------------------------------------------------------- /migrations/0032_add_credential_type_to_order.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0032_add_credential_type_to_order.up.sql -------------------------------------------------------------------------------- /migrations/0033_claim_drain_wallet_id_idx.down.sql: -------------------------------------------------------------------------------- 1 | drop index claim_drain_wallet_id_idx; 2 | -------------------------------------------------------------------------------- /migrations/0033_claim_drain_wallet_id_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0033_claim_drain_wallet_id_idx.up.sql -------------------------------------------------------------------------------- /migrations/0034_multi_custodian_wallet.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0034_multi_custodian_wallet.down.sql -------------------------------------------------------------------------------- /migrations/0034_multi_custodian_wallet.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0034_multi_custodian_wallet.up.sql -------------------------------------------------------------------------------- /migrations/0035_payment_skus.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0035_payment_skus.down.sql -------------------------------------------------------------------------------- /migrations/0035_payment_skus.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0035_payment_skus.up.sql -------------------------------------------------------------------------------- /migrations/0036_order_time.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0036_order_time.down.sql -------------------------------------------------------------------------------- /migrations/0036_order_time.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0036_order_time.up.sql -------------------------------------------------------------------------------- /migrations/0037_order_item_valid_for.down.sql: -------------------------------------------------------------------------------- 1 | alter table order_items drop column valid_for_iso; 2 | -------------------------------------------------------------------------------- /migrations/0037_order_item_valid_for.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0037_order_item_valid_for.up.sql -------------------------------------------------------------------------------- /migrations/0038_deposit_dest_drain.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0038_deposit_dest_drain.down.sql -------------------------------------------------------------------------------- /migrations/0038_deposit_dest_drain.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0038_deposit_dest_drain.up.sql -------------------------------------------------------------------------------- /migrations/0039_free_trial_order.down.sql: -------------------------------------------------------------------------------- 1 | alter table orders drop column trial_days; 2 | -------------------------------------------------------------------------------- /migrations/0039_free_trial_order.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0039_free_trial_order.up.sql -------------------------------------------------------------------------------- /migrations/0040_unlinked_at.down.sql: -------------------------------------------------------------------------------- 1 | alter table wallet_custodian drop column unlinked_at; 2 | -------------------------------------------------------------------------------- /migrations/0040_unlinked_at.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0040_unlinked_at.up.sql -------------------------------------------------------------------------------- /migrations/0041_credential_duration.down.sql: -------------------------------------------------------------------------------- 1 | alter table order_items drop column issuance_interval; 2 | -------------------------------------------------------------------------------- /migrations/0041_credential_duration.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0041_credential_duration.up.sql -------------------------------------------------------------------------------- /migrations/0042_normalize_creds.down.sql: -------------------------------------------------------------------------------- 1 | drop view normalized_credentials; 2 | -------------------------------------------------------------------------------- /migrations/0042_normalize_creds.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0042_normalize_creds.up.sql -------------------------------------------------------------------------------- /migrations/0043_normalize_claim_creds.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0043_normalize_claim_creds.down.sql -------------------------------------------------------------------------------- /migrations/0043_normalize_claim_creds.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0043_normalize_claim_creds.up.sql -------------------------------------------------------------------------------- /migrations/0044_promotion_constraints.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0044_promotion_constraints.down.sql -------------------------------------------------------------------------------- /migrations/0044_promotion_constraints.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0044_promotion_constraints.up.sql -------------------------------------------------------------------------------- /migrations/0045_drop_promotion_fkey.down.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/0045_drop_promotion_fkey.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0045_drop_promotion_fkey.up.sql -------------------------------------------------------------------------------- /migrations/0046_verified_wallet_outbox.down.sql: -------------------------------------------------------------------------------- 1 | drop table verified_wallet_outbox; 2 | -------------------------------------------------------------------------------- /migrations/0046_verified_wallet_outbox.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0046_verified_wallet_outbox.up.sql -------------------------------------------------------------------------------- /migrations/0047_claimable_until_promotion.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0047_claimable_until_promotion.down.sql -------------------------------------------------------------------------------- /migrations/0047_claimable_until_promotion.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0047_claimable_until_promotion.up.sql -------------------------------------------------------------------------------- /migrations/0048_sub_issuer_creds.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0048_sub_issuer_creds.down.sql -------------------------------------------------------------------------------- /migrations/0048_sub_issuer_creds.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0048_sub_issuer_creds.up.sql -------------------------------------------------------------------------------- /migrations/0049_each_credential_valid_for.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0049_each_credential_valid_for.down.sql -------------------------------------------------------------------------------- /migrations/0049_each_credential_valid_for.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0049_each_credential_valid_for.up.sql -------------------------------------------------------------------------------- /migrations/0050_cred_request_download.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0050_cred_request_download.down.sql -------------------------------------------------------------------------------- /migrations/0050_cred_request_download.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0050_cred_request_download.up.sql -------------------------------------------------------------------------------- /migrations/0051_cred_request_downloaded_undo.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0051_cred_request_downloaded_undo.down.sql -------------------------------------------------------------------------------- /migrations/0051_cred_request_downloaded_undo.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0051_cred_request_downloaded_undo.up.sql -------------------------------------------------------------------------------- /migrations/0052_claim_drain_pending_idx.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX claim_drain_pending_idx; 2 | -------------------------------------------------------------------------------- /migrations/0052_claim_drain_pending_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0052_claim_drain_pending_idx.up.sql -------------------------------------------------------------------------------- /migrations/0053_vote_drain_processed_erred_idx.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX vote_drain_processed_erred_idx; 2 | -------------------------------------------------------------------------------- /migrations/0053_vote_drain_processed_erred_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0053_vote_drain_processed_erred_idx.up.sql -------------------------------------------------------------------------------- /migrations/0054_suggestion_drain_not_erred_idx.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX suggestion_drain_not_erred_idx; 2 | -------------------------------------------------------------------------------- /migrations/0054_suggestion_drain_not_erred_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0054_suggestion_drain_not_erred_idx.up.sql -------------------------------------------------------------------------------- /migrations/0055_order_creds_batch_proof_null_idx.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX order_creds_batch_proof_null_idx; 2 | -------------------------------------------------------------------------------- /migrations/0055_order_creds_batch_proof_null_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0055_order_creds_batch_proof_null_idx.up.sql -------------------------------------------------------------------------------- /migrations/0056_signing_order_request_outbox_created_at_submitted_at_isnull_idx.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0056_signing_order_request_outbox_created_at_submitted_at_isnull_idx.down.sql -------------------------------------------------------------------------------- /migrations/0056_signing_order_request_outbox_created_at_submitted_at_isnull_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0056_signing_order_request_outbox_created_at_submitted_at_isnull_idx.up.sql -------------------------------------------------------------------------------- /migrations/0057_wallet_custodian_updated_at.down.sql: -------------------------------------------------------------------------------- 1 | alter table wallet_custodian drop column updated_at; 2 | -------------------------------------------------------------------------------- /migrations/0057_wallet_custodian_updated_at.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0057_wallet_custodian_updated_at.up.sql -------------------------------------------------------------------------------- /migrations/0058_order_history.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0058_order_history.down.sql -------------------------------------------------------------------------------- /migrations/0058_order_history.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0058_order_history.up.sql -------------------------------------------------------------------------------- /migrations/0059_transaction_history.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0059_transaction_history.down.sql -------------------------------------------------------------------------------- /migrations/0059_transaction_history.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0059_transaction_history.up.sql -------------------------------------------------------------------------------- /migrations/0060_order_item_history.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0060_order_item_history.down.sql -------------------------------------------------------------------------------- /migrations/0060_order_item_history.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0060_order_item_history.up.sql -------------------------------------------------------------------------------- /migrations/0061_wallet_custodian_check_custodian.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0061_wallet_custodian_check_custodian.down.sql -------------------------------------------------------------------------------- /migrations/0061_wallet_custodian_check_custodian.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0061_wallet_custodian_check_custodian.up.sql -------------------------------------------------------------------------------- /migrations/0062_signing_order_request_outbox_history.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0062_signing_order_request_outbox_history.down.sql -------------------------------------------------------------------------------- /migrations/0062_signing_order_request_outbox_history.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0062_signing_order_request_outbox_history.up.sql -------------------------------------------------------------------------------- /migrations/0063_tlv2oc_history.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0063_tlv2oc_history.down.sql -------------------------------------------------------------------------------- /migrations/0063_tlv2oc_history.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0063_tlv2oc_history.up.sql -------------------------------------------------------------------------------- /migrations/0064_challenges.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS challenge; 2 | -------------------------------------------------------------------------------- /migrations/0064_challenges.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0064_challenges.up.sql -------------------------------------------------------------------------------- /migrations/0065_allow_list.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS allow_list; 2 | -------------------------------------------------------------------------------- /migrations/0065_allow_list.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0065_allow_list.up.sql -------------------------------------------------------------------------------- /migrations/0066_wallet_custodian_check_custodian_add_solana.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0066_wallet_custodian_check_custodian_add_solana.down.sql -------------------------------------------------------------------------------- /migrations/0066_wallet_custodian_check_custodian_add_solana.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0066_wallet_custodian_check_custodian_add_solana.up.sql -------------------------------------------------------------------------------- /migrations/0067_tlv2_request_id_not_null.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0067_tlv2_request_id_not_null.down.sql -------------------------------------------------------------------------------- /migrations/0067_tlv2_request_id_not_null.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0067_tlv2_request_id_not_null.up.sql -------------------------------------------------------------------------------- /migrations/0068_tlv2_request_id_uniq.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0068_tlv2_request_id_uniq.down.sql -------------------------------------------------------------------------------- /migrations/0068_tlv2_request_id_uniq.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0068_tlv2_request_id_uniq.up.sql -------------------------------------------------------------------------------- /migrations/0069_order_items_add_sku_variant.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE order_items DROP COLUMN sku_variant; 2 | -------------------------------------------------------------------------------- /migrations/0069_order_items_add_sku_variant.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0069_order_items_add_sku_variant.up.sql -------------------------------------------------------------------------------- /migrations/0070_create_solana_waitlist.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS solana_waitlist; 2 | -------------------------------------------------------------------------------- /migrations/0070_create_solana_waitlist.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0070_create_solana_waitlist.up.sql -------------------------------------------------------------------------------- /migrations/0071_signing_order_request_outbox_submitted_completed_idx.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0071_signing_order_request_outbox_submitted_completed_idx.down.sql -------------------------------------------------------------------------------- /migrations/0071_signing_order_request_outbox_submitted_completed_idx.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/migrations/0071_signing_order_request_outbox_submitted_completed_idx.up.sql -------------------------------------------------------------------------------- /schema/rewards/ParametersV1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/schema/rewards/ParametersV1 -------------------------------------------------------------------------------- /schema/wallet/BalanceResponseV3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/schema/wallet/BalanceResponseV3 -------------------------------------------------------------------------------- /schema/wallet/LinkBraveDepositAccountRequest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/schema/wallet/LinkBraveDepositAccountRequest -------------------------------------------------------------------------------- /schema/wallet/ResponseV3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/schema/wallet/ResponseV3 -------------------------------------------------------------------------------- /services/cmd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/cmd/README.md -------------------------------------------------------------------------------- /services/cmd/serve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/cmd/serve.go -------------------------------------------------------------------------------- /services/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/go.mod -------------------------------------------------------------------------------- /services/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/go.sum -------------------------------------------------------------------------------- /services/grant/cmd/grant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/cmd/grant.go -------------------------------------------------------------------------------- /services/grant/cmd/grant_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/cmd/grant_test.go -------------------------------------------------------------------------------- /services/grant/datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/datastore.go -------------------------------------------------------------------------------- /services/grant/grant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/grant.go -------------------------------------------------------------------------------- /services/grant/grant_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/grant_test.go -------------------------------------------------------------------------------- /services/grant/instrumented_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/instrumented_datastore.go -------------------------------------------------------------------------------- /services/grant/instrumented_read_only_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/instrumented_read_only_datastore.go -------------------------------------------------------------------------------- /services/grant/mockdatastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/mockdatastore.go -------------------------------------------------------------------------------- /services/grant/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/grant/service.go -------------------------------------------------------------------------------- /services/promotion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/README.md -------------------------------------------------------------------------------- /services/promotion/avro.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/avro.go -------------------------------------------------------------------------------- /services/promotion/claim.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/claim.go -------------------------------------------------------------------------------- /services/promotion/claim_summary.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/claim_summary.go -------------------------------------------------------------------------------- /services/promotion/claim_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/claim_test.go -------------------------------------------------------------------------------- /services/promotion/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/controllers.go -------------------------------------------------------------------------------- /services/promotion/controllers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/controllers_test.go -------------------------------------------------------------------------------- /services/promotion/custodian.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/custodian.go -------------------------------------------------------------------------------- /services/promotion/datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/datastore.go -------------------------------------------------------------------------------- /services/promotion/datastore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/datastore_test.go -------------------------------------------------------------------------------- /services/promotion/drain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/drain.go -------------------------------------------------------------------------------- /services/promotion/drain_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/drain_info.go -------------------------------------------------------------------------------- /services/promotion/instrumented_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/instrumented_datastore.go -------------------------------------------------------------------------------- /services/promotion/instrumented_read_only_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/instrumented_read_only_datastore.go -------------------------------------------------------------------------------- /services/promotion/issuer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/issuer.go -------------------------------------------------------------------------------- /services/promotion/mockclaim.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/mockclaim.go -------------------------------------------------------------------------------- /services/promotion/mockdatastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/mockdatastore.go -------------------------------------------------------------------------------- /services/promotion/mockdrain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/mockdrain.go -------------------------------------------------------------------------------- /services/promotion/mockservice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/mockservice.go -------------------------------------------------------------------------------- /services/promotion/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/order.go -------------------------------------------------------------------------------- /services/promotion/promotion.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/promotion.go -------------------------------------------------------------------------------- /services/promotion/promotion_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/promotion_test.go -------------------------------------------------------------------------------- /services/promotion/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/service.go -------------------------------------------------------------------------------- /services/promotion/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/service_test.go -------------------------------------------------------------------------------- /services/promotion/suggestions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/suggestions.go -------------------------------------------------------------------------------- /services/promotion/suggestions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/promotion/suggestions_test.go -------------------------------------------------------------------------------- /services/ratios/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/cache.go -------------------------------------------------------------------------------- /services/ratios/cmd/ratios.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/cmd/ratios.go -------------------------------------------------------------------------------- /services/ratios/cmd/rest_run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/cmd/rest_run.go -------------------------------------------------------------------------------- /services/ratios/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/controllers.go -------------------------------------------------------------------------------- /services/ratios/controllers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/controllers_test.go -------------------------------------------------------------------------------- /services/ratios/inputs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/inputs.go -------------------------------------------------------------------------------- /services/ratios/mapping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/mapping.go -------------------------------------------------------------------------------- /services/ratios/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/middleware.go -------------------------------------------------------------------------------- /services/ratios/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/ratios/service.go -------------------------------------------------------------------------------- /services/rewards/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/Dockerfile -------------------------------------------------------------------------------- /services/rewards/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/README.md -------------------------------------------------------------------------------- /services/rewards/choices.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/choices.go -------------------------------------------------------------------------------- /services/rewards/cmd/rest_run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/cmd/rest_run.go -------------------------------------------------------------------------------- /services/rewards/cmd/rewards.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/cmd/rewards.go -------------------------------------------------------------------------------- /services/rewards/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/controllers.go -------------------------------------------------------------------------------- /services/rewards/controllers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/controllers_test.go -------------------------------------------------------------------------------- /services/rewards/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/docker-compose.yml -------------------------------------------------------------------------------- /services/rewards/handler/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/handler/handler.go -------------------------------------------------------------------------------- /services/rewards/handler/handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/handler/handler_test.go -------------------------------------------------------------------------------- /services/rewards/inputs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/inputs.go -------------------------------------------------------------------------------- /services/rewards/json-schema/example-parameters-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/json-schema/example-parameters-response.json -------------------------------------------------------------------------------- /services/rewards/json-schema/example-parameters-response.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/json-schema/example-parameters-response.schema -------------------------------------------------------------------------------- /services/rewards/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/model/model.go -------------------------------------------------------------------------------- /services/rewards/parameters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/parameters.go -------------------------------------------------------------------------------- /services/rewards/protobuf/rewards.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/protobuf/rewards.proto -------------------------------------------------------------------------------- /services/rewards/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/service.go -------------------------------------------------------------------------------- /services/rewards/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/rewards/service_test.go -------------------------------------------------------------------------------- /services/skus/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/Dockerfile -------------------------------------------------------------------------------- /services/skus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/README.md -------------------------------------------------------------------------------- /services/skus/appstore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/appstore.go -------------------------------------------------------------------------------- /services/skus/appstore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/appstore_test.go -------------------------------------------------------------------------------- /services/skus/avro.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/avro.go -------------------------------------------------------------------------------- /services/skus/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/controllers.go -------------------------------------------------------------------------------- /services/skus/controllers_noint_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/controllers_noint_test.go -------------------------------------------------------------------------------- /services/skus/controllers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/controllers_test.go -------------------------------------------------------------------------------- /services/skus/credentials.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/credentials.go -------------------------------------------------------------------------------- /services/skus/credentials_noint_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/credentials_noint_test.go -------------------------------------------------------------------------------- /services/skus/credentials_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/credentials_test.go -------------------------------------------------------------------------------- /services/skus/datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/datastore.go -------------------------------------------------------------------------------- /services/skus/datastore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/datastore_test.go -------------------------------------------------------------------------------- /services/skus/handler/cred.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/handler/cred.go -------------------------------------------------------------------------------- /services/skus/handler/cred_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/handler/cred_test.go -------------------------------------------------------------------------------- /services/skus/handler/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/handler/handler.go -------------------------------------------------------------------------------- /services/skus/handler/handler_pvt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/handler/handler_pvt_test.go -------------------------------------------------------------------------------- /services/skus/handler/handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/handler/handler_test.go -------------------------------------------------------------------------------- /services/skus/helpers.go: -------------------------------------------------------------------------------- 1 | package skus 2 | -------------------------------------------------------------------------------- /services/skus/instrumented_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/instrumented_datastore.go -------------------------------------------------------------------------------- /services/skus/key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/key.go -------------------------------------------------------------------------------- /services/skus/key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/key_test.go -------------------------------------------------------------------------------- /services/skus/mockcredentials.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/mockcredentials.go -------------------------------------------------------------------------------- /services/skus/mockdatastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/mockdatastore.go -------------------------------------------------------------------------------- /services/skus/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/model/model.go -------------------------------------------------------------------------------- /services/skus/model/model_pvt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/model/model_pvt_test.go -------------------------------------------------------------------------------- /services/skus/model/model_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/model/model_test.go -------------------------------------------------------------------------------- /services/skus/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/order.go -------------------------------------------------------------------------------- /services/skus/order_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/order_test.go -------------------------------------------------------------------------------- /services/skus/playstore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/playstore.go -------------------------------------------------------------------------------- /services/skus/playstore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/playstore_test.go -------------------------------------------------------------------------------- /services/skus/radom/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/radom/notification.go -------------------------------------------------------------------------------- /services/skus/radom/notification_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/radom/notification_test.go -------------------------------------------------------------------------------- /services/skus/radom/radom.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/radom/radom.go -------------------------------------------------------------------------------- /services/skus/radom/radom_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/radom/radom_test.go -------------------------------------------------------------------------------- /services/skus/receipt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/receipt.go -------------------------------------------------------------------------------- /services/skus/receipt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/receipt_test.go -------------------------------------------------------------------------------- /services/skus/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/service.go -------------------------------------------------------------------------------- /services/skus/service_nonint_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/service_nonint_test.go -------------------------------------------------------------------------------- /services/skus/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/service_test.go -------------------------------------------------------------------------------- /services/skus/skus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/skus.go -------------------------------------------------------------------------------- /services/skus/skus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/skus_test.go -------------------------------------------------------------------------------- /services/skus/skustest/skustest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/skustest/skustest.go -------------------------------------------------------------------------------- /services/skus/storage/repository/issuer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/issuer.go -------------------------------------------------------------------------------- /services/skus/storage/repository/issuer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/issuer_test.go -------------------------------------------------------------------------------- /services/skus/storage/repository/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/mock.go -------------------------------------------------------------------------------- /services/skus/storage/repository/order_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/order_history.go -------------------------------------------------------------------------------- /services/skus/storage/repository/order_item.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/order_item.go -------------------------------------------------------------------------------- /services/skus/storage/repository/order_item_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/order_item_test.go -------------------------------------------------------------------------------- /services/skus/storage/repository/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/repository.go -------------------------------------------------------------------------------- /services/skus/storage/repository/repository_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/repository_test.go -------------------------------------------------------------------------------- /services/skus/storage/repository/tlv2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/tlv2.go -------------------------------------------------------------------------------- /services/skus/storage/repository/tlv2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/storage/repository/tlv2_test.go -------------------------------------------------------------------------------- /services/skus/stripe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/stripe.go -------------------------------------------------------------------------------- /services/skus/stripe_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/stripe_test.go -------------------------------------------------------------------------------- /services/skus/testdata/stripe_invoice_paid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/testdata/stripe_invoice_paid.json -------------------------------------------------------------------------------- /services/skus/testdata/stripe_invoice_payment_failed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/testdata/stripe_invoice_payment_failed.json -------------------------------------------------------------------------------- /services/skus/testdata/stripe_sub_deleted.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/testdata/stripe_sub_deleted.json -------------------------------------------------------------------------------- /services/skus/transaction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/transaction.go -------------------------------------------------------------------------------- /services/skus/vote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/vote.go -------------------------------------------------------------------------------- /services/skus/vote_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/vote_test.go -------------------------------------------------------------------------------- /services/skus/xstripe/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/xstripe/mock.go -------------------------------------------------------------------------------- /services/skus/xstripe/xstripe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/xstripe/xstripe.go -------------------------------------------------------------------------------- /services/skus/xstripe/xstripe_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/skus/xstripe/xstripe_test.go -------------------------------------------------------------------------------- /services/wallet/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/Dockerfile -------------------------------------------------------------------------------- /services/wallet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/README.md -------------------------------------------------------------------------------- /services/wallet/cmd/rest_run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/cmd/rest_run.go -------------------------------------------------------------------------------- /services/wallet/cmd/wallets.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/cmd/wallets.go -------------------------------------------------------------------------------- /services/wallet/controllers_v3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/controllers_v3.go -------------------------------------------------------------------------------- /services/wallet/controllers_v3_int_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/controllers_v3_int_test.go -------------------------------------------------------------------------------- /services/wallet/controllers_v3_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/controllers_v3_test.go -------------------------------------------------------------------------------- /services/wallet/controllers_v4.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/controllers_v4.go -------------------------------------------------------------------------------- /services/wallet/controllers_v4_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/controllers_v4_test.go -------------------------------------------------------------------------------- /services/wallet/datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/datastore.go -------------------------------------------------------------------------------- /services/wallet/datastore_pvt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/datastore_pvt_test.go -------------------------------------------------------------------------------- /services/wallet/datastore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/datastore_test.go -------------------------------------------------------------------------------- /services/wallet/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/docker-compose.yml -------------------------------------------------------------------------------- /services/wallet/gemini.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/gemini.go -------------------------------------------------------------------------------- /services/wallet/gemini_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/gemini_test.go -------------------------------------------------------------------------------- /services/wallet/geocountry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/geocountry.go -------------------------------------------------------------------------------- /services/wallet/geocountry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/geocountry_test.go -------------------------------------------------------------------------------- /services/wallet/handler/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/handler/handler.go -------------------------------------------------------------------------------- /services/wallet/inputs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/inputs.go -------------------------------------------------------------------------------- /services/wallet/instrumented_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/instrumented_datastore.go -------------------------------------------------------------------------------- /services/wallet/instrumented_read_only_datastore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/instrumented_read_only_datastore.go -------------------------------------------------------------------------------- /services/wallet/keystore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/keystore.go -------------------------------------------------------------------------------- /services/wallet/metric/metric.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/metric/metric.go -------------------------------------------------------------------------------- /services/wallet/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/mock.go -------------------------------------------------------------------------------- /services/wallet/mockservice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/mockservice.go -------------------------------------------------------------------------------- /services/wallet/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/model/model.go -------------------------------------------------------------------------------- /services/wallet/model/model_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/model/model_test.go -------------------------------------------------------------------------------- /services/wallet/outputs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/outputs.go -------------------------------------------------------------------------------- /services/wallet/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/service.go -------------------------------------------------------------------------------- /services/wallet/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/service_test.go -------------------------------------------------------------------------------- /services/wallet/solana.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/solana.go -------------------------------------------------------------------------------- /services/wallet/solana_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/solana_test.go -------------------------------------------------------------------------------- /services/wallet/storage/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/storage/storage.go -------------------------------------------------------------------------------- /services/wallet/storage/storage_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/storage/storage_test.go -------------------------------------------------------------------------------- /services/wallet/wallettest/wallettest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/wallettest/wallettest.go -------------------------------------------------------------------------------- /services/wallet/xslack/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/xslack/mock.go -------------------------------------------------------------------------------- /services/wallet/xslack/xslack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/xslack/xslack.go -------------------------------------------------------------------------------- /services/wallet/xslack/xslack_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/xslack/xslack_test.go -------------------------------------------------------------------------------- /services/wallet/xsolana/xsolana.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/services/wallet/xsolana/xsolana.go -------------------------------------------------------------------------------- /test/secrets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/README.md -------------------------------------------------------------------------------- /test/secrets/broker1-ca1-signed.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/broker1-ca1-signed.crt -------------------------------------------------------------------------------- /test/secrets/broker1.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/broker1.csr -------------------------------------------------------------------------------- /test/secrets/broker1_keystore_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/broker1_sslkey_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/broker1_truststore_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/consumer-ca1-signed.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/consumer-ca1-signed.crt -------------------------------------------------------------------------------- /test/secrets/consumer-ca1-signed.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/consumer-ca1-signed.pem -------------------------------------------------------------------------------- /test/secrets/consumer.client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/consumer.client.key -------------------------------------------------------------------------------- /test/secrets/consumer.client.req: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/consumer.client.req -------------------------------------------------------------------------------- /test/secrets/consumer.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/consumer.csr -------------------------------------------------------------------------------- /test/secrets/consumer_keystore_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/consumer_sslkey_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/consumer_truststore_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/create-certs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/create-certs.sh -------------------------------------------------------------------------------- /test/secrets/generate-client.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/generate-client.sh -------------------------------------------------------------------------------- /test/secrets/kafka.broker1.keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/kafka.broker1.keystore.jks -------------------------------------------------------------------------------- /test/secrets/kafka.broker1.truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/kafka.broker1.truststore.jks -------------------------------------------------------------------------------- /test/secrets/kafka.consumer.keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/kafka.consumer.keystore.jks -------------------------------------------------------------------------------- /test/secrets/kafka.consumer.truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/kafka.consumer.truststore.jks -------------------------------------------------------------------------------- /test/secrets/kafka.producer.keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/kafka.producer.keystore.jks -------------------------------------------------------------------------------- /test/secrets/kafka.producer.truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/kafka.producer.truststore.jks -------------------------------------------------------------------------------- /test/secrets/openssl.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/openssl.cnf -------------------------------------------------------------------------------- /test/secrets/producer-ca1-signed.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/producer-ca1-signed.crt -------------------------------------------------------------------------------- /test/secrets/producer.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/producer.csr -------------------------------------------------------------------------------- /test/secrets/producer_keystore_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/producer_sslkey_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/producer_truststore_creds: -------------------------------------------------------------------------------- 1 | confluent 2 | -------------------------------------------------------------------------------- /test/secrets/snakeoil-ca-1.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/snakeoil-ca-1.crt -------------------------------------------------------------------------------- /test/secrets/snakeoil-ca-1.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/snakeoil-ca-1.key -------------------------------------------------------------------------------- /test/secrets/snakeoil-ca-1.srl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/snakeoil-ca-1.srl -------------------------------------------------------------------------------- /test/secrets/v3-1.ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/v3-1.ext -------------------------------------------------------------------------------- /test/secrets/v3.ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/test/secrets/v3.ext -------------------------------------------------------------------------------- /tools/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/Dockerfile -------------------------------------------------------------------------------- /tools/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/Makefile -------------------------------------------------------------------------------- /tools/cmd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/cmd/README.md -------------------------------------------------------------------------------- /tools/cmd/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/cmd/generate.go -------------------------------------------------------------------------------- /tools/cmd/get-cert-fingerprint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/cmd/get-cert-fingerprint.go -------------------------------------------------------------------------------- /tools/cmd/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/cmd/schema.go -------------------------------------------------------------------------------- /tools/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/go.mod -------------------------------------------------------------------------------- /tools/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/go.sum -------------------------------------------------------------------------------- /tools/macaroon/cmd/.gitignore: -------------------------------------------------------------------------------- 1 | macaroon-cli-gen 2 | -------------------------------------------------------------------------------- /tools/macaroon/cmd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/README.md -------------------------------------------------------------------------------- /tools/macaroon/cmd/ac_skus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/ac_skus.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_dev_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_dev_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_dev_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_dev_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_dev_time_limited_v2_bat.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_dev_time_limited_v2_bat.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_prod_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_prod_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_prod_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_prod_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_prod_time_limited_v2_bat.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_prod_time_limited_v2_bat.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_stg_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_stg_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_stg_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_stg_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-firewall-vpn/premium_stg_time_limited_v2_bat.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-firewall-vpn/premium_stg_time_limited_v2_bat.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-leo/premium_development_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-leo/premium_development_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-leo/premium_development_yearly_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-leo/premium_development_yearly_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-leo/premium_prod_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-leo/premium_prod_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-leo/premium_prod_yearly_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-leo/premium_prod_yearly_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-leo/premium_stg_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-leo/premium_stg_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-leo/premium_stg_yearly_time_limited_v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-leo/premium_stg_yearly_time_limited_v2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/development-captcha-single-use.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/development-captcha-single-use.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/development-captcha-time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/development-captcha-time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/premium_dev_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/premium_dev_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/premium_prod_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/premium_prod_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/premium_stg_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/premium_stg_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/premium_year_dev_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/premium_year_dev_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/premium_year_prod_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/premium_year_prod_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/premium_year_stg_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/premium_year_stg_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/production-captcha-single-use.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/production-captcha-single-use.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-search/staging-captcha-single-use.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-search/staging-captcha-single-use.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_1m_tlv2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_1m_tlv2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_5m_tlv2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_5m_tlv2.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_nocc_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_nocc_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_nocc_stg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_nocc_stg.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_premium_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_premium_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_premium_stg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_premium_stg.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_stg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_stg.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_unlimited_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_unlimited_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/free_unlimitted_stg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/free_unlimitted_stg.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/premium_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/premium_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/premium_stg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/premium_stg.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/unlimited_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/unlimited_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-skus/unlimited_stg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-skus/unlimited_stg.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/brave_talk_free_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/brave_talk_free_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/brave_talk_paid_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/brave_talk_paid_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/premium_dev_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/premium_dev_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/premium_dev_time-limited_beta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/premium_dev_time-limited_beta.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/premium_prod_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/premium_prod_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/premium_prod_time-limited_beta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/premium_prod_time-limited_beta.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/premium_stg_time-limited.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/premium_stg_time-limited.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-talk/premium_stg_time-limited_beta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-talk/premium_stg_time-limited_beta.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-together/brave_together_free_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-together/brave_together_free_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-together/brave_together_free_prod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-together/brave_together_free_prod.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-together/brave_together_free_staging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-together/brave_together_free_staging.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-together/brave_together_paid_dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-together/brave_together_paid_dev.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-together/brave_together_paid_prod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-together/brave_together_paid_prod.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/brave-together/brave_together_paid_staging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/brave-together/brave_together_paid_staging.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/example.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/free_example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/free_example.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/gen.go -------------------------------------------------------------------------------- /tools/macaroon/cmd/search_closed_beta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/search_closed_beta.yaml -------------------------------------------------------------------------------- /tools/macaroon/cmd/token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/token.go -------------------------------------------------------------------------------- /tools/macaroon/cmd/webtest-pj.herokuapp.com.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/macaroon/cmd/webtest-pj.herokuapp.com.yaml -------------------------------------------------------------------------------- /tools/merchant/cmd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/merchant/cmd/README.md -------------------------------------------------------------------------------- /tools/merchant/cmd/new_keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/merchant/cmd/new_keys.go -------------------------------------------------------------------------------- /tools/settlement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/README.md -------------------------------------------------------------------------------- /tools/settlement/bitflyer/upload.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/bitflyer/upload.go -------------------------------------------------------------------------------- /tools/settlement/bitflyer/upload_mock_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/bitflyer/upload_mock_test.go -------------------------------------------------------------------------------- /tools/settlement/bitflyer/upload_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/bitflyer/upload_test.go -------------------------------------------------------------------------------- /tools/settlement/cmd/bitflyer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/cmd/bitflyer.go -------------------------------------------------------------------------------- /tools/settlement/cmd/gemini.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/cmd/gemini.go -------------------------------------------------------------------------------- /tools/settlement/cmd/paypal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/cmd/paypal.go -------------------------------------------------------------------------------- /tools/settlement/cmd/settlement.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/cmd/settlement.go -------------------------------------------------------------------------------- /tools/settlement/cmd/uphold.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/cmd/uphold.go -------------------------------------------------------------------------------- /tools/settlement/config.example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/config.example.yaml -------------------------------------------------------------------------------- /tools/settlement/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/config.go -------------------------------------------------------------------------------- /tools/settlement/config.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/config.hcl -------------------------------------------------------------------------------- /tools/settlement/files.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/files.go -------------------------------------------------------------------------------- /tools/settlement/gemini/sign.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/gemini/sign.go -------------------------------------------------------------------------------- /tools/settlement/gemini/upload.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/gemini/upload.go -------------------------------------------------------------------------------- /tools/settlement/hashicorp.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/hashicorp.asc -------------------------------------------------------------------------------- /tools/settlement/paypal/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/paypal/data.go -------------------------------------------------------------------------------- /tools/settlement/paypal/transform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/paypal/transform.go -------------------------------------------------------------------------------- /tools/settlement/settlement.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/settlement.go -------------------------------------------------------------------------------- /tools/settlement/settlement_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/settlement_test.go -------------------------------------------------------------------------------- /tools/settlement/uphold/prepare.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/uphold/prepare.go -------------------------------------------------------------------------------- /tools/settlement/uphold/prepare_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/settlement/uphold/prepare_test.go -------------------------------------------------------------------------------- /tools/vault/cmd/create_wallet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/cmd/create_wallet.go -------------------------------------------------------------------------------- /tools/vault/cmd/import_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/cmd/import_key.go -------------------------------------------------------------------------------- /tools/vault/cmd/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/cmd/init.go -------------------------------------------------------------------------------- /tools/vault/cmd/sign_settlement.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/cmd/sign_settlement.go -------------------------------------------------------------------------------- /tools/vault/cmd/unseal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/cmd/unseal.go -------------------------------------------------------------------------------- /tools/vault/cmd/vault.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/cmd/vault.go -------------------------------------------------------------------------------- /tools/vault/signer/ed25519signer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/signer/ed25519signer.go -------------------------------------------------------------------------------- /tools/vault/signer/hmacsigner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/signer/hmacsigner.go -------------------------------------------------------------------------------- /tools/vault/signer/hmacsigner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/signer/hmacsigner_test.go -------------------------------------------------------------------------------- /tools/vault/signer/vaultsigner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/signer/vaultsigner.go -------------------------------------------------------------------------------- /tools/vault/signer/vaultsigner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/vault/signer/vaultsigner_test.go -------------------------------------------------------------------------------- /tools/wallet/cmd/create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/wallet/cmd/create.go -------------------------------------------------------------------------------- /tools/wallet/cmd/list_transactions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/wallet/cmd/list_transactions.go -------------------------------------------------------------------------------- /tools/wallet/cmd/transfer_funds.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brave-intl/bat-go/HEAD/tools/wallet/cmd/transfer_funds.go --------------------------------------------------------------------------------