on domain sale and on transaction end