Signer
Signer
struct signer has drop { a: address }Comparison to address
addresslet a1 = @0x1;
let a2 = @0x2;
// ... and so on for every other possible addressscript {
use std::signer;
fun main(s: signer) {
assert!(signer::address_of(&s) == @0x42, 0);
}
}signer Operators
signer OperatorsFunction
Description
Ownership
Last updated