Vault implementation

Hello !

I tried to implement the Vault a little bit differently than the original FT standard. (eg no withdraw is possible)

The FungibleToken contract is the same as the one in the flow-ft repo

I want to understand why this works :

And this doesn’t :

Thank you !!

The FungibleToken interface requires that all contracts that implement it use Vault as the name, so you cannot change it.