Skip to content

Commit 1cd4fbc

Browse files
authored
Merge pull request #116 from Explore-Beyond-Innovations/JoE11-y-patch-1
Update xZBERC20.cairo
2 parents bfae1a2 + 4ef4bdb commit 1cd4fbc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

contracts/L2/src/core/xZBERC20.cairo

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@ pub mod xZBERC20 {
9292
}
9393
}
9494

95+
#[generate_trait]
96+
#[abi(per_item)]
97+
impl TestMint of IxZbTest<ContractState> {
98+
#[external(v0)]
99+
fn test_mint(ref self: ContractState, recipient: ContractAddress, amount: u256) {
100+
self.erc20.mint(recipient, amount);
101+
}
102+
}
103+
95104
//
96105
// Upgradeable
97106
//

0 commit comments

Comments
 (0)