We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62c18cd + 7bfc7a1 commit 3ebe759Copy full SHA for 3ebe759
spl/src/token_interface.rs
@@ -24,6 +24,13 @@ impl anchor_lang::AccountDeserialize for TokenAccount {
24
}
25
26
27
+impl TokenAccount {
28
+ /// CERTORA: used to create a new instance for verification purposes
29
+ pub fn new_unchecked(inner: spl_token_2022::state::Account) -> Self {
30
+ Self(inner)
31
+ }
32
+}
33
+
34
impl anchor_lang::AccountSerialize for TokenAccount {}
35
36
impl anchor_lang::Owners for TokenAccount {
0 commit comments