[][src]Function dtoken::transfer_to_layer2

pub fn transfer_to_layer2(
    from: &Address,
    to: &Address,
    id: &[u8],
    amt: u128
) -> bool

transfer dtoken to layer2.

will fail if admin has not set layer2 id before.