fix pk for sig
add sig for nft contract func
contract service init
swap case
swap contract caller
fix comments
fix altstack copying data