TransactionScript
if they all share the same owner.
Ok(Address)
if the single owner can be determined, Err(AuthError)
otherwise.use std::auth::caller_address;
fn foo() {
match caller_address() {
Ok(address) => log(address),
Err(AuthError::InputsNotAllOwnedBySameAddress) => log("Inputs not all owned by the same address."),
Err(AuthError::CallerIsInternal) => log("Hell froze over."),
}
}