B2Gold was among the first companies to negotiate a settlement with the Malian Government over its 2023 mining code.