This commit is contained in:
Pranav Gaddamadugu 2023-04-05 08:46:35 -07:00
parent 6bb50c284a
commit d2b84e501f

View File

@ -0,0 +1,20 @@
/*
namespace: Compile
expectation: Pass
*/
program test.aleo {
record test_credits {
owner: address,
gates: u64,
amount: u64
}
transition mint_credits(to: address, amount: u64) {
return test_credits {
owner: self.caller,
gates: 0u64,
amount
};
}
}