How to build a digital agreement you can rely on: lifecycle states, versioned consent, OTP limits, audit trails, payment records and the law in Bangladesh.