DeploySEALED
╳░○%●▓╱◆▪█╲#╱□▓#$~&□◆!#╲╱■░█●%@●○@▪░◇░╱▓▒!**░!▓█╲&□%▫╲$╳▪╳#!╳◆%▒
Transaction ID
Execution Fee
0.00000379 FLOWTransaction Summary
DeployContract deployment
Contract deployment
Script Arguments
0nameString
IEVMBridgeTokenMinter
1codeString
import FungibleToken from 0xf233dcee88fe0abe
/// Contract interface enabling FlowEVMBridge to mint fungible tokens from implementing bridge contracts.
///
access(all)
contract interface IEVMBridgeTokenMinter {
/// Emitted whenever tokens are minted, identifying the type, amount, and minter
access(all) event Minted(type: String, amount: UFix64, mintedUUID: UInt64, minter: Address)
/// Account-only method to mint a fungible token of the specified amount.
///
access(account)
fun mintTokens(amount: UFix64): @{FungibleToken.Vault} {
post {
result.balance == amount: "Result does not contained specified amount"
emit Minted(
type: result.getType().identifier,
amount: amount,
mintedUUID: result.uuid,
minter: self.account.address
)
}
}
}
Cadence Script
1transaction(name: String, code: String ) {
2 prepare(signer: auth(AddContract) &Account) {
3 signer.contracts.add(name: name, code: code.utf8 )
4 }
5 }