This is a proxy contract to check if an account is KYC proved through registered providers (KYC Contracts).
This contract is compatible with KYC Contracts that have the following entrypoint:
EntryPoint::new(
"is_kyc_proved",
vec![
Parameter::new("account", Key::cl_type()),
Parameter::new("index", CLType::Option(Box::new(U256::cl_type()))),
],
CLType::Bool,
EntryPointAccess::Public,
EntryPointType::Contract,
)
This proxy contract accepts a list of contract_package_hash
on installation deploys or singular package hashes on later deploys when calling the "add_provider"
entrypoint.
These providers can be banned or unbanned. Banned providers will not be asked for their opinion.
Initialize proxy contracts with a given list of contract_package_hash
Check if a given account is KYC proved
Register a new KYC provider contract inside the proxy contract
Set given KYC provider contract as validated inside the proxy contract
Set given KYC provider contract as invalidated inside the proxy contract
casper-contract = "1.4.4" casper-engine-test-support = "2.2.0" casper-execution-engine = "2.0.0" casper-types = "1.5.0"